export default [
  {
    path: '/autoCoding',
    name: 'AutoCoding',
    component: '/AutoCoding',
    icon: 'DashboardOutlined',
    meta: {
      closeable: true,
    },
  },
  {
    path: '/amap',
    name: '高德地图',
    component: './amap',
    icon: 'DashboardOutlined',
    meta: {
      closeable: true,
    },
  },
  {
    path: '/canvas',
    name: 'Canvas',
    component: '/canvas',
    icon: 'BankOutlined',
    meta: {
      closeable: true,
    },
  },
  {
    path: '/hooks',
    name: 'Hooks',
    component: './hooks',
    icon: 'RadarChartOutlined',
    meta: {
      closeable: true,
    },
  },
  {
    path: '/others',
    name: 'others',
    icon: 'BankOutlined',
    meta: {
      closeable: true,
    },
    children: [
      {
        path: '/others/virtualList',
        name: '虚拟列表',
        component: '/others/VirtualList',
        meta: {
          closeable: true,
        },
      },
    ],
  },
  {
    path: '/test',
    name: 'test',
    component: '/test',
    icon: 'BankOutlined',
    meta: {
      closeable: true,
    },
  },
  {
    path: '/echarts',
    name: 'Echarts',
    component: '/echarts',
    icon: 'DashboardOutlined',
    meta: {
      closeable: true,
    },
  },
  {
    path: '/advanceReact',
    name: 'React进阶',
    icon: 'AntDesignOutlined',
    meta: {
      closeable: true,
    },
    children: [
      {
        path: '/advanceReact/JSX',
        name: 'JSX',
        component: '/advanceReact/JSX',
        meta: {
          closeable: true,
        },
      },
      {
        path: '/advanceReact/LifeCircle',
        name: 'LifeCircle',
        component: '/advanceReact/LifeCircle',
        meta: {
          closeable: true,
        },
      },
      {
        path: '/advanceReact/DataFlow',
        name: 'DataFlow',
        component: '/advanceReact/DataFlow',
        meta: {
          closeable: true,
        },
      },
      {
        path: '/advanceReact/Hooks',
        name: 'Hooks',
        component: '/advanceReact/Hooks',
        meta: {
          closeable: true,
        },
      },
      {
        path: '/advanceReact/VirtualDOM',
        name: 'VirtualDOM',
        component: '/advanceReact/VirtualDOM',
        meta: {
          closeable: true,
        },
      },
      {
        path: '/advanceReact/StackReconciler',
        name: 'StackReconciler',
        component: '/advanceReact/StackReconciler',
        meta: {
          closeable: true,
        },
      },
      {
        path: '/advanceReact/SetState',
        name: 'SetState',
        component: '/advanceReact/SetState',
        meta: {
          closeable: true,
        },
      },
      {
        path: '/advanceReact/Fiber',
        name: 'Fiber',
        component: '/advanceReact/Fiber',
        meta: {
          closeable: true,
        },
      },
      {
        path: '/advanceReact/Render',
        name: 'Render',
        component: '/advanceReact/Render',
        meta: {
          closeable: true,
        },
      },
      {
        path: '/advanceReact/ConCurrent',
        name: 'ConCurrent',
        component: '/advanceReact/ConCurrent',
        meta: {
          closeable: true,
        },
      },
      {
        path: '/advanceReact/SyntheticEvent',
        name: 'SyntheticEvent',
        component: '/advanceReact/SyntheticEvent',
        meta: {
          closeable: true,
        },
      },
      {
        path: '/advanceReact/Redux',
        name: 'Redux',
        component: '/advanceReact/Redux',
        meta: {
          closeable: true,
        },
      },
      {
        path: '/advanceReact/Router',
        name: 'Router',
        component: '/advanceReact/Router',
        meta: {
          closeable: true,
        },
      },
      {
        path: '/advanceReact/HighPerformance',
        name: 'HighPerformance',
        component: '/advanceReact/HighPerformance',
        meta: {
          closeable: true,
        },
      },
      {
        path: '/advanceReact/DesignMode',
        name: 'DesignMode',
        component: '/advanceReact/DesignMode',
        meta: {
          closeable: true,
        },
      },
      {
        path: '/advanceReact/React17',
        name: 'React17',
        component: '/advanceReact/React17',
        meta: {
          closeable: true,
        },
      },
    ],
  },
];

export const settings = {
  navTheme: 'dark',
  primaryColor: '#1890FF',
  layout: 'side',
  contentWidth: 'Fluid',
  fixedHeader: false,
  autoHideHeader: false,
  fixSiderbar: true,
  colorWeak: false,
  menu: {
    locale: true,
  },
  title: '鸡尼钛镁',
  pwa: false,
  iconfontUrl: '',
  // loading: true,
};
